<?php
namespace app\company\validate;

use think\Validate;

class Activity extends Validate{

    protected $rule = [
        'name|姓名' =>  'require|max:50',
        'cate_id|事件分类' =>  'require|number',
        'integral_a_start|A分起始值' =>  'require|integer',
        'integral_a_end|A分结束值' =>  'require|integer',
        'integral_b_start|B分起始值' =>  'require|integer',
        'integral_b_end|B分结束值' =>  'require|integer',

        'is_lottery_ticket|奖票事件' =>  'require',
        'is_piece|计件事件' =>  'require',
        'is_check|专人审核' =>  'require',

    ];

    protected $message = [
    ];

}